$(function() {

	$('#saveBtn').click(function() {
		var uid = $('#uid').val();
		var realName = $('#realName').val();
		var sex      = $('#sex').val();
		var phone    = $('#phone').val();
		var email    = $('#email').val();

		//alert(uid);alert(realName);alert(sex);alert(phone);alert(email);return false;

		$.post('/member/info.php',{uid:uid,realName:realName,sex:sex,phone:phone,email:email}, function(data) {
			if (data.status == true) {
				alert(data.info);
				history.go(0);
			} else {
				alert(data.info);
			}
		}, 'json');
	});
});